QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    DFA_maker.cpp \
    LR0.cpp \
    LR1.cpp \
    LR_0_DFAShow.cpp \
    LR_1_DFAShow.cpp \
    LR_1_ProcessShow.cpp \
    LR_1_TableShow.cpp \
    NFA_maker.cpp \
    first_follow_show.cpp \
    form.cpp \
    logic.cpp \
    main.cpp \
    mainwindow.cpp \
    mindfa.cpp \
    presolve.cpp \
    program.cpp \
    show.cpp \
    utils.cpp

HEADERS += \
    DFA_maker.h \
    LR0.h \
    LR1.h \
    NFA_maker.h \
    TreeGraph.h \
    TreeModel.h \
    form.h \
    logic.h \
    mainwindow.h \
    mindfa.h \
    presolve.h \
    utils.h

FORMS += \
    form.ui \
    mainwindow.ui

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
